package com.xbh.captcha;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ImportResource;

/**
 * @program: captcha-provider
 * @description:
 * @author: 许宝华
 * @create: 2021-09-19 09:52
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.xbh.captcha.*.**")
@ImportResource(locations = "classpath:app.xml")
public class CaptchaProviderApplication {
    private static Logger logger = LoggerFactory.getLogger(CaptchaProviderApplication.class);
    public static void main(String[] args) {
       SpringApplication.run(CaptchaProviderApplication.class, args);
       logger.info("验证码服务已启动");
    }
}
